package com.android.equipment.adapter

import com.android.equipment.R
import com.android.equipment.bean.WorkDetailDeviceData
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class DeviceNameAdapter(layoutRes: Int): BaseQuickAdapter<WorkDetailDeviceData, BaseViewHolder>(layoutRes) {
    override fun convert(holder: BaseViewHolder, item: WorkDetailDeviceData) {
        holder.setText(R.id.tv_device_code, item.deviceCode)
    }
}